<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI交友推荐 - 智能匹配</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary-color: #4f46e5;
            --secondary-color: #2563eb;
            --accent-color: #ec4899;
            --light-bg: #f8fafc;
            --card-bg: #ffffff;
            --text-dark: #1e293b;
            --text-light: #64748b;
            --border-color: #e2e8f0;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: var(--light-bg);
            color: var(--text-dark);
            line-height: 1.6;
        }
        
        .navbar {
            background-color: var(--primary-color);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .section-title {
            position: relative;
            padding-bottom: 12px;
            margin-bottom: 2rem;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        .filter-bar {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-sm);
        }
        
        .filter-group {
            margin-bottom: 1rem;
        }
        
        @media (min-width: 768px) {
            .filter-group {
                margin-bottom: 0;
            }
        }
        
        .card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
        
        .card-body {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .stats {
            display: flex;
            gap: 1rem;
            color: var(--text-light);
            font-size: 0.875rem;
            margin-bottom: 1rem;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .author {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .author-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .action-buttons {
            display: flex;
            gap: 0.5rem;
            margin-top: auto;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-primary:hover {
            background-color: #4338ca;
            border-color: #4338ca;
        }
        
        .btn-outline-primary {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        .image-container {
            position: relative;
            aspect-ratio: 16/9;
            overflow: hidden;
            background-color: #f1f5f9;
        }
        
        .image-container.no-image {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f1f5f9;
        }
        
        .image-container.no-image::after {
            content: '\f007';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 3rem;
            color: var(--text-light);
        }
        
        .image-container.multi-image {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 4px;
            padding: 4px;
        }
        
        .multi-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px;
        }
        
        .multi-image img:first-child {
            grid-column: span 1;
            grid-row: span 2;
        }
        
        .tag {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            margin-right: 5px;
            margin-bottom: 5px;
            background-color: rgba(79, 70, 229, 0.1);
            color: var(--primary-color);
        }
        
        .tag-match {
            background-color: rgba(236, 72, 153, 0.1);
            color: var(--accent-color);
        }
        
        .list-view-item {
            display: flex;
            background-color: var(--card-bg);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 1rem;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }
        
        .list-view-item:hover {
            transform: translateX(5px);
            box-shadow: var(--shadow-md);
        }
        
        @media (max-width: 768px) {
            .list-view-item {
                flex-direction: column;
            }
            
            .image-container {
                aspect-ratio: 16/9;
            }
        }
        
        .grid-cols-2 {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .featured-card {
            border: 2px solid var(--primary-color);
            position: relative;
        }
        
        .featured-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: var(--accent-color);
            color: white;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            z-index: 1;
        }
        
        .view-toggle {
            display: flex;
            gap: 10px;
            margin-bottom: 1.5rem;
        }
        
        .toggle-btn {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            padding: 8px 15px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .toggle-btn.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-dark">
        <div class="container">
            <a class="navbar-brand d-flex align-items-center gap-2" href="#">
                <i class="fas fa-robot"></i>
                <span>智能社交</span>
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">AI交友推荐</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">兴趣社群</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">匹配设置</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">帮助中心</a>
                    </li>
                </ul>
                <div class="d-flex align-items-center gap-3">
                    <div class="position-relative">
                        <button class="btn btn-outline-light">
                            <i class="fas fa-bell"></i>
                        </button>
                        <span class="position-absolute top-0 right-0 translate-middle badge rounded-circle bg-danger">3</span>
                    </div>
                    <div class="dropdown">
                        <button class="btn btn-secondary dropdown-toggle rounded-circle" type="button" data-bs-toggle="dropdown">
                            <img src="https://picsum.photos/id/64/40/40" alt="用户头像" width="36" height="36" class="rounded-circle">
                        </button>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="#">个人中心</a></li>
                            <li><a class="dropdown-item" href="#">我的匹配</a></li>
                            <li><a class="dropdown-item" href="#">消息通知</a></li>
                            <li><hr class="dropdown-divider"></li>
                            <li><a class="dropdown-item" href="#">退出登录</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- 主要内容 -->
    <div class="container py-6">
        <h2 class="section-title">AI交友推荐</h2>
        
        <!-- 视图切换 -->
        <div class="view-toggle">
            <button class="toggle-btn active" id="grid-view">
                <i class="fas fa-th-large"></i> 网格视图
            </button>
            <button class="toggle-btn" id="list-view">
                <i class="fas fa-list"></i> 列表视图
            </button>
        </div>
        
        <!-- 筛选栏 -->
        <div class="filter-bar">
            <div class="row">
                <div class="col-md-3 filter-group">
                    <label class="form-label fw-medium mb-2">匹配度</label>
                    <select class="form-select">
                        <option>全部匹配度</option>
                        <option>90%以上</option>
                        <option>80%-90%</option>
                        <option>70%-80%</option>
                        <option>70%以下</option>
                    </select>
                </div>
                <div class="col-md-3 filter-group">
                    <label class="form-label fw-medium mb-2">兴趣类别</label>
                    <select class="form-select">
                        <option>全部兴趣</option>
                        <option>音乐</option>
                        <option>运动</option>
                        <option>阅读</option>
                        <option>旅行</option>
                        <option>美食</option>
                    </select>
                </div>
                <div class="col-md-3 filter-group">
                    <label class="form-label fw-medium mb-2">距离范围</label>
                    <select class="form-select">
                        <option>不限距离</option>
                        <option>10公里以内</option>
                        <option>50公里以内</option>
                        <option>100公里以内</option>
                        <option>同城</option>
                    </select>
                </div>
                <div class="col-md-3 filter-group d-flex align-items-end">
                    <button class="btn btn-primary w-100">
                        <i class="fas fa-filter me-1"></i> 应用筛选
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 特色推荐 -->
        <h3 class="mb-4">AI精选推荐</h3>
        <div class="row mb-8">
            <div class="col-lg-8">
                <div class="card featured-card h-100">
                    <div class="featured-badge">98%匹配</div>
                    <div class="image-container">
                        <img src="https://picsum.photos/id/1027/800/450" alt="户外摄影爱好者聚会" class="w-100 h-100 object-cover">
                    </div>
                    <div class="card-body p-5">
                        <div class="author">
                            <img src="https://picsum.photos/id/1012/32/32" alt="张明的头像" class="author-avatar">
                            <span>推荐人: 张明 <span class="text-primary">(摄影达人)</span></span>
                        </div>
                        
                        <div class="mb-3">
                            <span class="tag tag-match">98%匹配</span>
                            <span class="tag">摄影</span>
                            <span class="tag">户外</span>
                            <span class="tag">旅行</span>
                        </div>
                        
                        <h5 class="card-title mb-3 fs-4">户外摄影爱好者周末采风</h5>
                        <p class="card-text text-light-text mb-4">
                            寻找志同道合的摄影爱好者，一起探索城市周边美景，交流摄影技巧，分享拍摄心得。无论你是专业摄影师还是摄影新手，只要热爱摄影，都欢迎加入我们的周末采风活动。
                        </p>
                        
                        <div class="stats mb-4">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>1,243 浏览</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>87 评论</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>356 点赞</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-bookmark"></i>
                                <span>128 收藏</span>
                            </div>
                        </div>
                        
                        <div class="action-buttons">
                            <button class="btn btn-primary flex-grow-1">
                                <i class="fas fa-user-plus me-1"></i> 加入
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="col-lg-4">
                <div class="card h-100">
                    <div class="image-container no-image">
                        <!-- 无图片 -->
                    </div>
                    <div class="card-body">
                        <div class="author">
                            <img src="https://picsum.photos/id/1025/32/32" alt="李华的头像" class="author-avatar">
                            <span>推荐人: 李华 <span class="text-primary">(读书会组织者)</span></span>
                        </div>
                        
                        <div class="mb-3">
                            <span class="tag tag-match">95%匹配</span>
                            <span class="tag">阅读</span>
                            <span class="tag">文学</span>
                            <span class="tag">线上</span>
                        </div>
                        
                        <h5 class="card-title mb-3">经典文学线上读书会</h5>
                        <p class="card-text text-light-text mb-4">
                            每周线上讨论一本经典文学作品，分享阅读感悟，结交热爱文学的朋友。无需出门，在家即可参与高质量的文学交流。
                        </p>
                        
                        <div class="stats mb-3">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>876 浏览</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>64 评论</span>
                            </div>
                        </div>
                        
                        <div class="action-buttons">
                            <button class="btn btn-primary flex-grow-1">
                                <i class="fas fa-user-plus me-1"></i> 加入
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 网格视图内容 -->
        <div id="grid-content">
            <!-- 兴趣爱好推荐 -->
            <h3 class="mb-4">兴趣爱好推荐</h3>
            <div class="row gap-4 mb-8">
                <div class="col-md-6 col-lg-4">
                    <div class="card">
                        <div class="image-container multi-image">
                            <img src="https://picsum.photos/id/1059/400/300" alt="登山活动照片1">
                            <img src="https://picsum.photos/id/1061/400/300" alt="登山活动照片2">
                            <img src="https://picsum.photos/id/1063/400/300" alt="登山活动照片3">
                        </div>
                        <div class="card-body p-4">
                            <div class="author">
                                <img src="https://picsum.photos/id/1074/32/32" alt="王强的头像" class="author-avatar">
                                <span>推荐人: 王强</span>
                            </div>
                            
                            <div class="mb-2">
                                <span class="tag tag-match">92%匹配</span>
                                <span class="tag">登山</span>
                                <span class="tag">运动</span>
                            </div>
                            
                            <h5 class="card-title mb-2">周末登山爱好者小组</h5>
                            <p class="card-text text-light-text text-sm mb-3">
                                每周组织一次周边山峰徒步，适合有一定体能的爱好者参与。
                            </p>
                            
                            <div class="stats mb-3">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>654</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>32</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>189</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons">
                                <button class="btn btn-primary btn-sm flex-grow-1">加入</button>
                                <button class="btn btn-outline-primary btn-sm">
                                    <i class="far fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-md-6 col-lg-4">
                    <div class="card">
                        <div class="image-container">
                            <img src="https://picsum.photos/id/292/400/300" alt="咖啡品鉴会照片" class="w-100 h-100 object-cover">
                        </div>
                        <div class="card-body p-4">
                            <div class="author">
                                <img src="https://picsum.photos/id/1062/32/32" alt="陈美的头像" class="author-avatar">
                                <span>推荐人: 陈美</span>
                            </div>
                            
                            <div class="mb-2">
                                <span class="tag tag-match">88%匹配</span>
                                <span class="tag">咖啡</span>
                                <span class="tag">美食</span>
                            </div>
                            
                            <h5 class="card-title mb-2">精品咖啡品鉴会</h5>
                            <p class="card-text text-light-text text-sm mb-3">
                                探索世界各地的精品咖啡，学习冲泡技巧，认识同样热爱咖啡的朋友。
                            </p>
                            
                            <div class="stats mb-3">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>521</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>47</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>215</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons">
                                <button class="btn btn-primary btn-sm flex-grow-1">加入</button>
                                <button class="btn btn-outline-primary btn-sm">
                                    <i class="far fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-md-6 col-lg-4">
                    <div class="card">
                        <div class="image-container no-image">
                            <!-- 无图片 -->
                        </div>
                        <div class="card-body p-4">
                            <div class="author">
                                <img src="https://picsum.photos/id/1079/32/32" alt="赵文的头像" class="author-avatar">
                                <span>推荐人: 赵文</span>
                            </div>
                            
                            <div class="mb-2">
                                <span class="tag tag-match">85%匹配</span>
                                <span class="tag">编程</span>
                                <span class="tag">技术</span>
                                <span class="tag">线上</span>
                            </div>
                            
                            <h5 class="card-title mb-2">Python编程学习小组</h5>
                            <p class="card-text text-light-text text-sm mb-3">
                                线上Python学习交流群，适合初学者入门，定期分享学习资源和项目实践。
                            </p>
                            
                            <div class="stats mb-3">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>987</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>124</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>342</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons">
                                <button class="btn btn-primary btn-sm flex-grow-1">加入</button>
                                <button class="btn btn-outline-primary btn-sm">
                                    <i class="far fa-heart"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 同城推荐 -->
            <h3 class="mb-4">同城推荐</h3>
            <div class="row gap-4">
                <div class="col-md-6">
                    <div class="card">
                        <div class="image-container multi-image">
                            <img src="https://picsum.photos/id/42/400/300" alt="美食探索照片1">
                            <img src="https://picsum.photos/id/292/400/300" alt="美食探索照片2">
                            <img src="https://picsum.photos/id/431/400/300" alt="美食探索照片3">
                        </div>
                        <div class="card-body p-4">
                            <div class="author">
                                <img src="https://picsum.photos/id/1083/32/32" alt="林小绿的头像" class="author-avatar">
                                <span>推荐人: 林小绿 <span class="text-primary">(美食博主)</span></span>
                            </div>
                            
                            <div class="mb-2">
                                <span class="tag tag-match">90%匹配</span>
                                <span class="tag">美食</span>
                                <span class="tag">探店</span>
                                <span class="tag">同城</span>
                            </div>
                            
                            <h5 class="card-title mb-2">城市隐藏美食探索队</h5>
                            <p class="card-text text-light-text mb-3">
                                每周探索城市中的隐藏美食店，从街头小吃到特色餐厅，发现不一样的味蕾体验。我们相信最好的美食往往在不起眼的角落。
                            </p>
                            
                            <div class="stats mb-3">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>1,567 浏览</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>98 评论</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>456 点赞</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-bookmark"></i>
                                    <span>203 收藏</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons">
                                <button class="btn btn-primary flex-grow-1">
                                    <i class="fas fa-user-plus me-1"></i> 加入
                                </button>
                                <button class="btn btn-outline-primary">
                                    <i class="far fa-heart"></i>
                                </button>
                                <button class="btn btn-outline-primary">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-md-6">
                    <div class="card">
                        <div class="image-container">
                            <img src="https://picsum.photos/id/335/400/300" alt="城市骑行照片" class="w-100 h-100 object-cover">
                        </div>
                        <div class="card-body p-4">
                            <div class="author">
                                <img src="https://picsum.photos/id/1066/32/32" alt="刘军的头像" class="author-avatar">
                                <span>推荐人: 刘军 <span class="text-primary">(骑行爱好者)</span></span>
                            </div>
                            
                            <div class="mb-2">
                                <span class="tag tag-match">87%匹配</span>
                                <span class="tag">骑行</span>
                                <span class="tag">运动</span>
                                <span class="tag">同城</span>
                            </div>
                            
                            <h5 class="card-title mb-2">城市周末骑行团</h5>
                            <p class="card-text text-light-text mb-3">
                                周末城市周边骑行活动，路线难度适中，适合各类骑行爱好者参与。我们会提供路线规划和补给支持，欢迎加入我们的绿色出行。
                            </p>
                            
                            <div class="stats mb-3">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>876 浏览</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>54 评论</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>231 点赞</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-bookmark"></i>
                                    <span>109 收藏</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons">
                                <button class="btn btn-primary flex-grow-1">
                                    <i class="fas fa-user-plus me-1"></i> 加入
                                </button>
                                <button class="btn btn-outline-primary">
                                    <i class="far fa-heart"></i>
                                </button>
                                <button class="btn btn-outline-primary">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 列表视图内容 (默认隐藏) -->
        <div id="list-content" style="display: none;">
            <h3 class="mb-4">AI交友推荐列表</h3>
            
            <!-- 列表项1 -->
            <div class="list-view-item">
                <div class="col-md-3 p-0">
                    <div class="image-container">
                        <img src="https://picsum.photos/id/1027/400/300" alt="户外摄影爱好者聚会" class="w-100 h-100 object-cover">
                    </div>
                </div>
                <div class="col-md-9 p-4">
                    <div class="d-flex justify-content-between align-items-start mb-2">
                        <div>
                            <div class="author mb-1">
                                <img src="https://picsum.photos/id/1012/32/32" alt="张明的头像" class="author-avatar">
                                <span>推荐人: 张明 <span class="text-primary">(摄影达人)</span></span>
                            </div>
                            <div>
                                <span class="tag tag-match">98%匹配</span>
                                <span class="tag">摄影</span>
                                <span class="tag">户外</span>
                            </div>
                        </div>
                        <div class="stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>1,243</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>87</span>
                            </div>
                        </div>
                    </div>
                    
                    <h5 class="card-title mb-2">户外摄影爱好者周末采风</h5>
                    <p class="card-text text-light-text mb-3">
                        寻找志同道合的摄影爱好者，一起探索城市周边美景，交流摄影技巧，分享拍摄心得。无论你是专业摄影师还是摄影新手，只要热爱摄影，都欢迎加入我们的周末采风活动。
                    </p>
                    
                    <div class="d-flex justify-content-between align-items-center">
                        <div class="stats">
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>356 点赞</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-bookmark"></i>
                                <span>128 收藏</span>
                            </div>
                        </div>
                        <div class="action-buttons">
                            <button class="btn btn-primary">
                                <i class="fas fa-user-plus me-1"></i> 加入
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 列表项2 (无图片) -->
            <div class="list-view-item">
                <div class="col-md-3 p-0">
                    <div class="image-container no-image">
                        <!-- 无图片 -->
                    </div>
                </div>
                <div class="col-md-9 p-4">
                    <div class="d-flex justify-content-between align-items-start mb-2">
                        <div>
                            <div class="author mb-1">
                                <img src="https://picsum.photos/id/1025/32/32" alt="李华的头像" class="author-avatar">
                                <span>推荐人: 李华 <span class="text-primary">(读书会组织者)</span></span>
                            </div>
                            <div>
                                <span class="tag tag-match">95%匹配</span>
                                <span class="tag">阅读</span>
                                <span class="tag">文学</span>
                                <span class="tag">线上</span>
                            </div>
                        </div>
                        <div class="stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>876</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>64</span>
                            </div>
                        </div>
                    </div>
                    
                    <h5 class="card-title mb-2">经典文学线上读书会</h5>
                    <p class="card-text text-light-text mb-3">
                        每周线上讨论一本经典文学作品，分享阅读感悟，结交热爱文学的朋友。无需出门，在家即可参与高质量的文学交流。
                    </p>
                    
                    <div class="d-flex justify-content-between align-items-center">
                        <div class="stats">
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>215 点赞</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-bookmark"></i>
                                <span>98 收藏</span>
                            </div>
                        </div>
                        <div class="action-buttons">
                            <button class="btn btn-primary">
                                <i class="fas fa-user-plus me-1"></i> 加入
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 列表项3 (多图片) -->
            <div class="list-view-item">
                <div class="col-md-3 p-0">
                    <div class="image-container multi-image">
                        <img src="https://picsum.photos/id/42/400/300" alt="美食探索照片1">
                        <img src="https://picsum.photos/id/292/400/300" alt="美食探索照片2">
                        <img src="https://picsum.photos/id/431/400/300" alt="美食探索照片3">
                    </div>
                </div>
                <div class="col-md-9 p-4">
                    <div class="d-flex justify-content-between align-items-start mb-2">
                        <div>
                            <div class="author mb-1">
                                <img src="https://picsum.photos/id/1083/32/32" alt="林小绿的头像" class="author-avatar">
                                <span>推荐人: 林小绿 <span class="text-primary">(美食博主)</span></span>
                            </div>
                            <div>
                                <span class="tag tag-match">90%匹配</span>
                                <span class="tag">美食</span>
                                <span class="tag">探店</span>
                                <span class="tag">同城</span>
                            </div>
                        </div>
                        <div class="stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>1,567</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>98</span>
                            </div>
                        </div>
                    </div>
                    
                    <h5 class="card-title mb-2">城市隐藏美食探索队</h5>
                    <p class="card-text text-light-text mb-3">
                        每周探索城市中的隐藏美食店，从街头小吃到特色餐厅，发现不一样的味蕾体验。我们相信最好的美食往往在不起眼的角落。
                    </p>
                    
                    <div class="d-flex justify-content-between align-items-center">
                        <div class="stats">
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>456 点赞</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-bookmark"></i>
                                <span>203 收藏</span>
                            </div>
                        </div>
                        <div class="action-buttons">
                            <button class="btn btn-primary">
                                <i class="fas fa-user-plus me-1"></i> 加入
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 列表项4 -->
            <div class="list-view-item">
                <div class="col-md-3 p-0">
                    <div class="image-container">
                        <img src="https://picsum.photos/id/335/400/300" alt="城市骑行照片" class="w-100 h-100 object-cover">
                    </div>
                </div>
                <div class="col-md-9 p-4">
                    <div class="d-flex justify-content-between align-items-start mb-2">
                        <div>
                            <div class="author mb-1">
                                <img src="https://picsum.photos/id/1066/32/32" alt="刘军的头像" class="author-avatar">
                                <span>推荐人: 刘军 <span class="text-primary">(骑行爱好者)</span></span>
                            </div>
                            <div>
                                <span class="tag tag-match">87%匹配</span>
                                <span class="tag">骑行</span>
                                <span class="tag">运动</span>
                                <span class="tag">同城</span>
                            </div>
                        </div>
                        <div class="stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>876</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>54</span>
                            </div>
                        </div>
                    </div>
                    
                    <h5 class="card-title mb-2">城市周末骑行团</h5>
                    <p class="card-text text-light-text mb-3">
                        周末城市周边骑行活动，路线难度适中，适合各类骑行爱好者参与。我们会提供路线规划和补给支持，欢迎加入我们的绿色出行。
                    </p>
                    
                    <div class="d-flex justify-content-between align-items-center">
                        <div class="stats">
                            <div class="stat-item">
                                <i class="far fa-heart"></i>
                                <span>231 点赞</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-bookmark"></i>
                                <span>109 收藏</span>
                            </div>
                        </div>
                        <div class="action-buttons">
                            <button class="btn btn-primary">
                                <i class="fas fa-user-plus me-1"></i> 加入
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-heart"></i>
                            </button>
                            <button class="btn btn-outline-primary">
                                <i class="far fa-bookmark"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 加载更多 -->
        <div class="text-center mt-8">
            <button class="btn btn-outline-primary px-6">
                <i class="fas fa-sync-alt me-1"></i> 加载更多推荐
            </button>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-8 mt-12">
        <div class="container">
            <div class="row">
                <div class="col-md-4 mb-6">
                    <h5 class="mb-3">智能社交平台</h5>
                    <p class="text-muted">基于AI智能匹配的社交平台，帮助你找到志同道合的朋友</p>
                    <div class="d-flex gap-3 mt-4">
                        <a href="#" class="text-white"><i class="fab fa-weibo fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-wechat fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-instagram fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fab fa-twitter fa-lg"></i></a>
                    </div>
                </div>
                <div class="col-md-2 mb-6">
                    <h5 class="mb-3">快速链接</h5>
                    <ul class="list-unstyled">
                        <li><a href="#" class="text-muted">首页</a></li>
                        <li><a href="#" class="text-muted">AI推荐</a></li>
                        <li><a href="#" class="text-muted">兴趣社群</a></li>
                        <li><a href="#" class="text-muted">活动日历</a></li>
                    </ul>
                </div>
                <div class="col-md-2 mb-6">
                    <h5 class="mb-3">帮助中心</h5>
                    <ul class="list-unstyled">
                        <li><a href="#" class="text-muted">使用指南</a></li>
                        <li><a href="#" class="text-muted">匹配机制</a></li>
                        <li><a href="#" class="text-muted">安全提示</a></li>
                        <li><a href="#" class="text-muted">联系我们</a></li>
                    </ul>
                </div>
                <div class="col-md-4">
                    <h5 class="mb-3">完善你的资料</h5>
                    <p class="text-muted mb-3">完善个人信息，获得更精准的AI匹配推荐</p>
                    <button class="btn btn-primary w-100">
                        <i class="fas fa-user-edit me-1"></i> 编辑个人资料
                    </button>
                </div>
            </div>
            <div class="border-top border-gray-700 mt-6 pt-6 text-center text-muted">
                <p>&copy; 2023 智能社交平台 版权所有 | 基于AI的精准社交匹配</p>
            </div>
        </div>
    </footer>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // 视图切换功能
        const gridViewBtn = document.getElementById('grid-view');
        const listViewBtn = document.getElementById('list-view');
        const gridContent = document.getElementById('grid-content');
        const listContent = document.getElementById('list-content');
        
        gridViewBtn.addEventListener('click', function() {
            gridViewBtn.classList.add('active');
            listViewBtn.classList.remove('active');
            gridContent.style.display = 'block';
            listContent.style.display = 'none';
        });
        
        listViewBtn.addEventListener('click', function() {
            listViewBtn.classList.add('active');
            gridViewBtn.classList.remove('active');
            listContent.style.display = 'block';
            gridContent.style.display = 'none';
        });
        
        // 点赞功能
        document.querySelectorAll('.btn-outline-primary').forEach(btn => {
            if (btn.querySelector('.fa-heart')) {
                btn.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    
                    if (icon.classList.contains('far')) {
                        // 点赞
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('text-danger');
                    } else {
                        // 取消点赞
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('text-danger');
                    }
                });
            }
            
            // 收藏功能
            if (btn.querySelector('.fa-bookmark')) {
                btn.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    
                    if (icon.classList.contains('far')) {
                        // 收藏
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('text-primary');
                    } else {
                        // 取消收藏
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('text-primary');
                    }
                });
            }
        });
    </script>
</body>
</html>
    